package com.ocom.common.entity.aiot;


import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.fasterxml.jackson.annotation.JsonProperty;
import com.ocom.common.entity.base.EntityBase;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.util.Date;

@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName(value = "user_info")
public class EntityUserInfo extends EntityBase implements Serializable {

  private static final long serialVersionUID = -7259903310144896767L;
  @TableId(value = "user_id", type = IdType.AUTO)
  private Long userId;
  @JsonProperty("saasNo")
  private String saasNo;
  private String account;
  @JsonProperty("password")
  private String password;
  @JsonProperty("userName")
  private String userName;
  private String salt;
  private Long userType;

  private Long comId;
  @JsonProperty("deptId")
  private Long deptId;
  @JsonProperty("bnsId")
  private Long bnsId;
  @JsonFormat(pattern = "yyyy-MM-dd")
  @JsonProperty("endTime")
  private String endTime;
  @JsonProperty("status")
  private Long status;
  private String remark;


}
